package com.xiaoyu.izf.repository;

import com.xiaoyu.izf.model.UserCardInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserCardInfoDao extends JpaRepository<UserCardInfo,Integer>, JpaSpecificationExecutor<UserCardInfo> {

    public UserCardInfo findOneById(int id);

    UserCardInfo findByUserName(String userName);
}
